package com.wk.pms.service;

import com.wk.common.bean.PageVo;
import com.wk.common.bean.QueryCondition;
import com.wk.pms.entity.AttrGroup;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wk.pms.vo.AttrGroupVO;
import com.wk.pms.vo.ItemGroupVO;

import java.util.List;

public interface AttrGroupService extends IService<AttrGroup> {

    PageVo queryGroupByPage(QueryCondition condition, Long catId);

    AttrGroupVO queryGroupWithAttrsByGroupId(Long groupId);

    List<AttrGroupVO> queryGroupWithAttrsByCategoryId(Long categoryId);

    List<ItemGroupVO> queryItemGroupByCategoryIdAndSpuId(Long categoryId, Long spuId);
}
